need to debug harder