just kidding, someone did this more intelligently already