added download checks