get values from entity