example codes.