for device testing