don't give me all the credit. this is stitch33's project i just wanted to upgrade it a little bit. so give stitch33 most of the credit.