Proper functionality acheived
Changes made to include langitude and latitude separately