impl helper_total_seconds and fix #16; close #16