updated basic plugin