made variables final that should be.