started nth case and complex is buggy