Finish plugin coding