take advantage of new typing features