deprecated should syntax to expect