git rid of 'val keyword in for comprehensions is deprecated' warning