its kinda fucked but i kinda works