rename the function name to tagrects