errors need to fix