removing lots of boilerplate code, removing byte[] from return types