Working without runtime errors