remove hard coded stuff and add real code.