created some example functions