Because using lambdas and algorithms is cool

Signed-off-by: retep998 <retep998@verizon.net>