Working out functions to see if I can add some in