BUGS!
WE GOT BUG!

fixed it though

wrongly implemented logic has been fixed