examples with this and return keywords were added