added states from HackLib