Add basic frame for functions