changing method scoping
Documentation, cleaner code