Switching from % to .format() method where is safe from compatibility point of view