pushed data output into function