changed class function to lower case