- added console
- added function parameters