Removed redunant data recording and replaced ||| with ;