sumbit by one button now working