changed the entire code to new one