Implementation of 2013 code