stylus functions working