added devices for text and command

also washed some lint