given data and code