GPL license headers
added LUT table reading