changed symbol matching pattern