write for test