Add primary code