first draft of php files