added leap lib