Cache some shit. Probably have a memory leak in here, but it's much faster.