1.finish load function
2.add id to case