adding proper data output