refactor of showAllJots