implemented some methods for the genetics stuff