create_entities function implemented in entries#create