Added dot in pattern matching