changed int to bytes