Missing ";" in function