required inputs and other debugs