some examples for nio