changes for back compatibility (removed the pointer)