app init prototype ready