extensions and random

added extensions and random selectors