updated readme and added debugging functionality