made use of more pythonic proporties