Added cat function.