added skeleton of new job handling implementation and hack-removed
compiler warnings