changed BookStates to module