plugin mostly works, need to remove parts however