fixing my earlier screw up