plugin running now but not yet working correctly