added encoding decleration