define out useless checks, inline stuff