figuring Python OOP