Adding optimization code for tracking background
committing changes to CMU: code complete