try some oop in C