snippet and readme both files updated