added first template code to test