added try() to ignore errors