adding document model
fixing method name