implement quick_encoding and get rid of all warnings