Defined mylub to determine the lub