Seperating functions