Simplify srcData logic