set release libraries
extracted correlation to own method