resolve func ok
working as intended