fixed camelcased function