Moving nearby feature into imperative vs declarative