we cannot stop using it if we want to keep the class compatible with the PHP version