Added TIAOrganize and TPAOrganize methods

Optimized solutions.