Missing semi-colon causing problems