Prototipe of initialization function