Tiny performance fix
Merge branch 'task3' into task4