added a helper type to make it faster