init the basic frame