Code before 2013-9-27