re-rearranging for htdocs purpose