type 1 or 2