change sharks to use array