updated to python3 format method style