make utility functions usable for finding correlation