removed un-needed react fns
data to states