Basic stylus function