changed interval to 500