time function written, test drive now.
accepted changes