working on shared templates