trying other methods, inefficient, reverting
working