refactor chromosome done