working cheat io
grad action subroutine coded. gives output ... but unable to assed validity yet