add main, which converts rgb to yiq now