corrected function names in user class