implemented a stupid hack because i am rushed.