adding calculation to private attributes