changed type rules