still working on errors