Using trait
Added twigify switch