skeleton of full plate-making code