Partial 5fold done. Code randomization left