small modification according to instruction