LOHRI FUNCTION