Fixed keyword function name errors, fixed missing semicolon