Core function is working on stylus through code pen