spaghetti logic view 1