This is an interesting function.