started work on correlation script