Scaffolding the development of effective collaboration and learning