removed if statement so works with no variables