Compacted two calls into one.