class code explaines