Edited the original comments. Using Query instead of list