Reworked for 4.4.2, added comments and a fragment.