add one more function like example