updated with input columns