made output suitable for a within subject analysis