constructors for anonymous entities added and tested