completed init skeleton