used stringformat instead of safe to explicitly set to integer