removing dependecies from code