similar calculator based off of objects