getting ready to put onto template