added getBytes stub