valueOf methods should be static