final modification of gem modified