merge rows in table
adapt practices