took Integer methods out of module for testing. general refactoring