as a part of assignment 1