add thread.sleep in all puffin function