fixed import, added discard