activity validation