starting ESC, added math lib