added another safe test on the lift function