changed time to 10 secs