Application of partial function