added voidLastTransaction function