exception raising and true/false returning versions of methods are made