#19 solved using Time