Just go through the code as a reference only.

Please Don't try to copy and paste coz the patches are initialized as a Admin Code.