entity builder almost works