cleaning up plateau class