add pattern decorator for command select