removed superfluous double check