add service time and first c function call