commited on 14th NOv, mainly for assignment 3