added some functions, looksups and colors