first attempt at logic vectors