added mouse2vector utilities