holy schmokes batman...attempting triple nested iterations