added $a variavble
added hidden input