working on next appointment feature