added sleep for debug