First version of setting properties of contact