move of util reject and added util resolve