finished planning source. closes #11