Exceptions implemented, todo catch exceptions