adding different types of cubes