swap true/false directions. change device names to symbols. bit mask
devices.