just a note that 'str' is not needed around e here since '%s' would do that anyways