Final implementations for the submitted TOIS2013 article