merged micro templates to decrease io