Added missing dependency and done formatting