try for OO Programming with C struct, hacky, buggy