added initial func with field