cancan and device are working