i should really redo this, but a basic console output is shown