works!!

works good but not efficient for now