debugging inspection, but code seems fine