length method one test. function not working. random not finished