initial explore code