hopefully working version for ST2 and ST3 in one package