How can star formation be sustained?