Changed formatting from tabs to spaces for consistent code view