Modified code to pass BiocCheck test