added basic function examples