template composition and first idea