change the way boxes works