added filter by purpose T and simplified constructor params
make travis happy