cleaned out template