get sub to work