connected spin boxes to returned values