added sleep + comments