Forgot to copy code to the implementation page. Note to self: never have the same code written twice in two different places