Added attr_reader for level