subtractuion functionality done