I really don't like this. We trade a fast array with a slow query...