removing UnsupportedOperationExceptions