fixed for Al's plotting