Added vertex groups and some related logic