add moveToMonitor function