added code to enable rack attack