add parameter for device but not correct