initialized j in shortes tjob