attempted to add value calculation