changes in row expansion fucntionality