Added Exception function
Added methods