Updated planning.h