added pft loop, commented out