Adding remainder for milestone 3