Moving functions around so they are defined