adding in check for instnace varibales
dec version for testing
ready for release