Optimize sth and add example output