- changed functions
- added random function
- added table-view