changed default trigshift from 0 to 1