Declaring function converter so that it can be called on later