use master state chart