working output