creating bmp works