Created add_interval(), updated TODO