some bug fixes for strategy, some changes, and implemented some of the basics for PF strategy