removed some unnecessary newlines