Start of plugin model