Not working anymore, but the structure is there. Just needs some fine tuning