added sleep for debugging