changed prime.py to arch.py and changed variable names accordingly