created skeleton select directive