now parses boolean expressnions for pins