Incorporated C for improved performance