made some changes to complete