snap code optimization, vault points added