got function throws exception moved into comments