promise sample init