changed plugin as framework