nested castGroup's