Starting to add in the primary code