removed undeeded code and comments
commented out hardware calls for now