Added support for data that is not in byte form