added leap stuff