debugged, add documentation, still needs file reading