broke out commands and errors