implement all submit buttons