edited get_slow function