This is exactly the same as above, so it should be refactored and use the same function.