finish 39, add a timer decorator in commons.py