access member modification to private
enhance code with excetions logging