working through snapRemote undefined issue