As this court previously ruled, '[t]he officer had probable cause to believe that the defendant had recently committed a crime of violence and was armed. This information, coupled with the defendant's repeated glances at the nearby cupboard, gave the officer reason to be concerned for his safety.' Commonwealth v. Mendez, 56 Mass. App. Ct. 1111 (2002). See Commonwealth v. DiToro, 51 Mass. App. Ct. 191, 195 (2001) (discussing requirements for exigency exception to warrant requirement).