update resolve() in readme