code architecture revision