added extra field and funtions