First 3 functions down.