replaced shared_ptrs with ofPtr