added a* to new ki, not perfect