got rid of unexpected token error