error with  problem 5 spec function call