two number sequence generator functions added