array job functionality added