-Remove a little code duplication