changing container type