two classes holding pointers to each other