added sleep & new mapping