Started working on valve template