modifications for explain operation