add gravity component