Develop a melody while staying within the specified chord structure.
'D', 'A7', 'G', 'D', 'Bm', 'Em', 'A7', 'D', 'A7', 'Bm', 'F#m', 'G', 'A7', 'D', 'A7', 'F#7', 'Bm', 'Bm', 'F#', 'Bm', 'G', 'D', 'D', 'G', 'D', 'G', 'A7', 'D'  
X:1
L:1/8
M:4/4
K:D
 D2 |"D" F2 A2"^(Bm)" d3 f |"A7" (e<c) (TBA)"G" d3 B |"D" A<F (d<B)"Bm" (A<F) (TE>D) | 
"Em"{D} E4"A7" z2 f>g |"D" af df"A7" ge Ag |"Bm" f2 (g/f/e/d/)"F#m"{d} c2 (TBA) | 
"G" Bc d(e/4f/4g/)"A7" (fe) (dc) |"D"{c} d6 :: f>g |"A7"({f} e3 d) (ce) (ac) | 
"F#7" (dc) (B^A)"Bm" B3 F |"Bm" Bc (de/4f/4g/)"F#" (fe) (dc) |"Bm"{c} B4"G" z2 (B/c/d) | 
"D" (A<F) (E<D) (d3 e/f/) |"D" (A<F) (E<D)"G" d3 B |"D" (A<F)"G" (d<B)"A7" (A<F) (E>F) |"D" D6 :|  