fixed misnamed function