debug, though may be unecessary