basic interval stuff seems to be working