copied from planning page