replaced"as" instead of ", " to work with Python3