adjusting to version 1.1 API