change format for bit tricks