removed all but visualization functionality