add clock_seconds to support shell