WORKING

maybe add logs or optimize next