Added function forceToDevice