to modify interface for grabcut