solution found at http://www.sitepoint.com/forums/showthread.php?t=490978