First Code checkin
some Exception handling