add bytes implementation