write programe fromework