little change in code