added try to pins/index