pushing code for snippet creation