updated function to also include sulc and curv