added translate class