Removing unneede control variable