Partial And Total Function