How could I build this into a form?