added the ability to translate components