added .to_i to times to attempt to pass tests on travis