Add pattern4 sample