made a member variables final where possible