added credit to the person who helped me