remove unusued code