basic output implementation

quick & dirty