working on adding share setting, not complete yet