Why real-world planning is difficult: a tale of two applications