added module to download segment