added exception to method signature