adds minor code changes