trying to figure out edit template