work in progress, started to replace the text rendering by something better