refactor rspec
add new time interval