First draft of plugin