fixes issue 4