added message and exception handling when creating milestones