make routes for snap and unsnap