revert prior commit

The prior commit did the opposite of what I thought it did. Restoring proper functionality.