implement build form buttons method