removed extra pattern matching