getting templates back to working so far