Added compress for stylus