credit to @kiranerys for the idea