crappy job logic added