method to retrieve m2m values