problem 3 with lib