more complete mapa seeds code, but broken...