add and subtract functionality added