Non-trivial code example