add functionality for clearing consist and deleting consist row