change class to amsbook