Found a better way to do it.