improved initall stuff