problem 5 ok - Dirty solution