checking for command processor first