system architecture code