add long conversion before calculating time execution