added static colour support and primitive message code