changed cellwrapper to return a boolean