Codes created in class