replaced with separator method