BDCS assignment 1