Improve resolute, add new functions