WIP: THIS CODE HAS INTENTIONAL BUGS