add input buttons for start and end id