small changes to diagram