Learning through experiment