intial.rev4

added console.log of success and reject