need to assign stdout here