added example and updated asdocs