changed lengths to correct ones