fixed style. added missing dependencies.