Nicklous20 202

I am open to suggestions about the best way to implement tests for this since it is a performance optimization