changed skipped to be sample based