add buttons and form example code