cursor plugin almost works