Got rid of redundant code
genetics