Set proper bits. Compiles without errors, need to test
Refer to README for this sample project documentation.