Added framework to function cannon for modifying globule based on given type.