added comments and working on delete image