exception declaration changed
fixed spelling
added getElement