fixed bugs; implements for -> (var : list){...