Added part of functions for translation optimization