operate on data rather than select from
Switched to compile to test file