Logging time at 20130411

Plan to finish the whole function at the weekend. Coding!