this works for the most part on being a job queue still need to get a few more things in order like better naming and so on