add examples for res