simplification to problem84