cast6 added, needs test completion