Cotext passing to elements