Initial workins of plugin