:smile: p - very fun porting c code to js.