Changed double code