move comment  to head of the codes