Removed built in logic circuit, and correct syntax for checking if device exists in parser