setinterval should be working