Defining Functions Outside Class C