add language icons and a helper method