changing to bytes