Cleaned code, switched to camelCase.