8bit support added