added top input and some id's to inpus