working code for the karim corzo webite.