return double instead of rep