Clean up code
 - space should not be at the end of createName
 - it was dumb to append ""