deleted a dublicate method and updated values