Added Math Function and is working