add missing semicolon
switch reader methods to attr_reader