-- new methods added, and some other methods edited.

-- previous one was missing some codes and had some non-required codes.