problem05 working