modified to use new share data. enabled debug loggin for now