changed debug to true for testing