adding better template interactions and default styles