Copied version from professor with changes to row fluid.