removed accessors and added from_rack instead