adding days until goal is reached logic, functions in place