renamed to follow Rosalind's naming convention