added bufferimage loader