parsing an entities