Needed Definition Of Functions