replace some functionality with plugins