a little more elegant