working on displacement plots