added tyler as the author, return values and an example