normalising error handling.. instanceVars created as required in case user forgets to call constructor..