function to grab a paticular decleration set