started refactoring jobrect code but it doesn't render now.