The Christian faith is based upon a canon of texts considered to be holy scripture. How did this canon come to be? Different factors, such as competing schools of doctrine, growing consensus, and the invention of the codex, helped shape the canon of the New Testament. Reasons for inclusion in or exclusion from the canon included apostolic authority, general acceptance, and theological appropriateness for "proto-orthodox" Christianity.