moved skills and interest path out of max loop