use 'self' instead of 'User' in object instance