moved capPositions to entity