changed to has_one :calculator