added copyProperties