make class, constants, private methods, error handling