make class methods private when possible