beginning of new badie ai app: it does initial color determination