adding a few more properties to directive