Code no longer generates errors