added SetReturnTo method