THIS IS SHIT but it kind of works