It's be nice to check your args at the top of this so that you know you can rely on them not being null or empty later on.