added hidden input elements