parsing commands and filters