Add function to handle type 02