yes, i have changed  this to int