function example moved to function folder.