reducing sleep time to 0.5 and adding delete method