maybe foreginObjects should be avoided