trying to implement clip widget