rename functions for accuracty
fix to predicate based actions