changed attributes from python 'protected' to python 'private'