|"when i turn on the computer it spins and it take a long time to detect"|
Detect? I thought it wasn't being detected? Since it's a WDC HDD, there are different jumper settings for master (single), master (w/slave), slave, cable select. Make sure you're using the correct setting. Also make sure you have the IDE cable plugged in correctly, not upside-down. Red stripe goes to pin #1.