An ecological perspective on content-based instruction