add pry check (see #2)