changed variable names from snake to camel case