code for basic init