changing pattern