added new example with more features