add STATIC for local variables
update license year from 2012 to 2013