add function for actionpoint