work on eliminating double calls

inverted logic