removed non-nullable vars from edge query for speed, maybe