moved snap outline into controller