fixed syntax added debug print