added missing dependencies. fixed style