what happened in this code can someone explain me this code ? please