don't create huge history trail, need to use classecodes as class will cause parse error in iOS