adapt style