not using resolve