Removed canApply function