changed freq to 5s for testing