updated to real .linq file that works mostly