Added two functions to grab macro and coefficient data