Rearranged abstract.py