updating code 12/02/2013