added malicious gravity code