int to byte method added