added datapair layer