changed all references over to bitcast