updated out func example in readme