length method one test and function work. still need .random