dynamic colours and leaves have now been implemented