separated cat code