update copyright year to *-2014
minor refactoring