Code error: Redefinition of 'a'

