added the state variable to borg and improved the README