getJob method implemented