datahandler with functional hardcoded output