removed useless $a variable