updated for version 1.9.7