Initial draft of plugin