basic class def w private member variables