Working on ifThen errors now