Pre-office hours revision - 2 functions working