Nitpick, there should be an empty line before this function (and largely functions don't start with an empty line elsewhere). This is minor though.