adding a slight sleep