complete new codes are going to add. will work on index.html tomorrow