porting specs for entity