While instead of if in acquire method