try-catch are not allowed, find out how to handle exceptional cases some other way