added BMP lib