Init function called and at the bottom