working on template bit