got rid of unnecessary attr_reader