Make this faster.