added logging to most methods so we can know what's going on