fixes issue 3