ADS assignment 1