adding beginning ideas of resolver