These two methods look very similar to each other :)