created error_list helper
updated version