Implement the sub function