added flexibility for colours