modified statement to allow py ver 2.6