Made `concat` method more versatile