added calls for rfid and device