removed superfluous check