Had to write a function

(duh)