Added beginings of the method handler