Removed integer instantiation and replaced with valueOf. Jake