map/reduce part is mostly complete now...just need to improve on validation