Updated Concat class implementation