style handling for parts