Also the first error being reported is because you're re-declaring the same variable, a_name. Call it something else.