added output and started on api