Setting up Initial Codes