improved patterns