I thought this code would've been faster, but it's not. Oh well.