Adding 'partial' function function