added add to newstack and updated attacktest