There was a missing semicolon...and a wrong variable name...it is fixed now...sorry about that...