rename variables
add colour functions