condensed some variables