added func sec2year