added stderr outputs